package com.ygqh.baby.service;
import java.util.List;

import  com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import  com.ygqh.baby.po.AdminMaterialDetail;

public interface AdminMaterialDetailService {

    
    List<AdminMaterialDetail> find();
	int findCount();
	AdminMaterialDetail findById(Long id);
	int deleteSoft(Long[] ids);
	int deleteSoft(Long id);
	int save(AdminMaterialDetail adminMaterialDetail );
	int update(AdminMaterialDetail adminMaterialDetail);
	int saveOrUpdate(AdminMaterialDetail adminMaterialDetail);
	
	ResultSet<AdminMaterialDetail> search(QueryInfo queryInfo, Long batchId,
			String contractCode);
	void saveBatchMaterialDetail(List<AdminMaterialDetail> adminMaterial);
	List<AdminMaterialDetail> selectMaterialDetail(Long bathId,
			String contractCode);
	
    
}
